import { createRouter, createWebHashHistory } from 'vue-router';
import CenterCloud from '../views/guide/CloudCenter.vue';
import Guide from '../views/guide/Guide2.vue';
import Login from '../views/login/Login.vue';

const routes = [
  {
    path: '/',
    name: 'Index',
    redirect: '/login'
  },
  {
    path: '/login',
    name: 'login',
    component: Login
  },
  {
    path: '/centercloud',
    name: 'centercloud',
    component: CenterCloud
  },
  {
    path: '/guide',
    name: 'guide',
    component: Guide
  }
];
const router = createRouter({
  history: createWebHashHistory(),
  routes
});

export default router;
